package com.example.utils;

public class ThreadLocalUtil {

    public static final ThreadLocal THREAD_LOCAL = new ThreadLocal();

    public static<T> T  get(){
        return (T) THREAD_LOCAL.get();
    }

    public static void set(Object obj){THREAD_LOCAL.set(obj);}

    public static void remove(){THREAD_LOCAL.remove();}
}
